package com.yanshibo.service;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.github.pagehelper.PageInfo;
import com.yanshibo.bean.Dormitory;
import com.yanshibo.bean.Floor;
import com.yanshibo.bean.QueryVo;
import com.yanshibo.bean.User;

public interface DormitoryService {

	PageInfo<Dormitory> getDormitoryList(Integer pageNum, QueryVo vo);

	List<Floor> getFool();

	List<User> getUserList();

	List<Dormitory> getDormitory();

	List<Dormitory> erji(Integer fid);

	Dormitory sanji(@Param("did")Integer did);

	User login(User user);

	PageInfo<User> selects();

	PageInfo<Dormitory> listDor();

}
